package com.fanyue.modules.wzb.entity;

import com.fanyue.core.base.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.tangzc.autotable.annotation.Index;
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Table(value = "wzb_app_user_face_record", comment = "人员扫脸记录表")
public class AppUserFaceRecordEntity extends BaseEntity<AppUserFaceRecordEntity> {
    @Index
    @ColumnDefine(comment = "人员id")
    private Long userId;

    //1-借出,2-归还
    @ColumnDefine(comment = "是否借出或归还")
    private Integer type;

    @ColumnDefine(comment = "相似度")
    private Float similarScore;

    @ColumnDefine(comment = "是否提交")
    private Integer isSubmit;

    @ColumnDefine(comment = "状态")
    private Integer status;

    @ColumnDefine(comment = "部门ID")
    private Long departmentId;

    @ColumnDefine(comment = "刷脸设备账号")
    private Long sysUserId;

    // 部门名称
    @Column(ignore = true)
    private String departmentName;
    @Column(ignore = true)
    private String appUserName;
    @Column(ignore = true)
    private String appUserUid;

    @Column(ignore = true)
    private String category1;
    @Column(ignore = true)
    private String category2;
    @Column(ignore = true)
    private String category3;
    @Column(ignore = true)
    private String category4;

}
